]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
17 years agoFix GNOME_SHELL_DISABLE_DISABLE_TFP typo
Owen Taylor [Sat, 29 Nov 2008 21:44:19 +0000 (21:44 +0000)]
Fix GNOME_SHELL_DISABLE_DISABLE_TFP typo

In my last commit of RainCT's patch, I screwed up the
envvar name when moving the code around. This fixes that.

svn path=/trunk/; revision=94

17 years agoBug 562629 – gnome-shell-build-setup.sh: more Ubuntu dependencies
Owen Taylor [Sat, 29 Nov 2008 21:44:17 +0000 (21:44 +0000)]
Bug 562629 – gnome-shell-build-setup.sh: more Ubuntu dependencies

Improve gnome-build-setup.sh by:
 - Adding more required dependencies
 - Fixing message when $reqs has multiple words
 - Remove stray + from file
Patch from RainCT (Siegfried Gevatter).

svn path=/trunk/; revision=93

17 years agoBug 562633 – Use GNOME_SHELL_DISABLE_TFP environment variable
Owen Taylor [Sat, 29 Nov 2008 21:11:31 +0000 (21:11 +0000)]
Bug 562633 – Use GNOME_SHELL_DISABLE_TFP environment variable

Allow forcing off the texture_for_pixmap extension by environment
variable, since it is apparently buggy on old Intel cards with
certain driver versions

Based on patch from RainCT (Siegfried Gevatter)

svn path=/trunk/; revision=92

17 years agoAdd up/down keyboard arrow navigation to app display
Colin Walters [Fri, 28 Nov 2008 23:06:07 +0000 (23:06 +0000)]
Add up/down keyboard arrow navigation to app display

svn path=/trunk/; revision=91

17 years agoHook up activate on search entry to launch if only one app displayed
Colin Walters [Fri, 28 Nov 2008 22:05:09 +0000 (22:05 +0000)]
Hook up activate on search entry to launch if only one app displayed

svn path=/trunk/; revision=90

17 years agoBug 562604 - Close the Run Dialog when Escape is pressed
Colin Walters [Fri, 28 Nov 2008 20:48:38 +0000 (20:48 +0000)]
Bug 562604 - Close the Run Dialog when Escape is pressed

Patch from RainCT (Siegfried Gevatter).

svn path=/trunk/; revision=89

17 years agoAdd more Ubuntu requirements checking to build setup script
Colin Walters [Fri, 28 Nov 2008 20:35:32 +0000 (20:35 +0000)]
Add more Ubuntu requirements checking to build setup script
Signed-off-by: Colin Walters <walters@verbum.org>
svn path=/trunk/; revision=88

17 years agoConvert all JS style to be uniform, add Eclipse settings bits
Colin Walters [Fri, 28 Nov 2008 20:12:20 +0000 (20:12 +0000)]
Convert all JS style to be uniform, add Eclipse settings bits

Previous style was all over the place; this commit attempts to bring
uniformity.  Overall, the style is:

* 4 spaces only, no tabs
* Prototypes do not create a new block
* Constructor property continuations only indent one block

svn path=/trunk/; revision=87

17 years agoConvert users of static functions to new gjs syntax
Colin Walters [Wed, 26 Nov 2008 19:14:18 +0000 (19:14 +0000)]
Convert users of static functions to new gjs syntax

svn path=/trunk/; revision=86

17 years agoSearch executables as well
Colin Walters [Tue, 25 Nov 2008 23:50:00 +0000 (23:50 +0000)]
Search executables as well

We want "gedit" to find GEdit, which doesn't contain its name in either
the name or description.

svn path=/trunk/; revision=85

17 years agoAdd hardcoded default applications list taken from online.gnome.org
Colin Walters [Tue, 25 Nov 2008 19:58:49 +0000 (19:58 +0000)]
Add hardcoded default applications list taken from online.gnome.org

The previous list of all applications in a random order was obviously
temporary.  This patch improves things by adding a static list, taken
from the online.gnome.org/applications data.

In the future we will either have a vendor-chosen static list, or
a fully dynamic system.

http://bugzilla.gnome.org/show_bug.cgi?id=562184

svn path=/trunk/; revision=84

17 years agoAdd a concept of "going modal" by grabbing the keyboard
Owen Taylor [Mon, 24 Nov 2008 19:07:18 +0000 (19:07 +0000)]
Add a concept of "going modal" by grabbing the keyboard

shell-global.[ch]: Replace shell_global_focus_stage()
  with shell_global_grab_keyboard()/shell_global_ungrab_keyboard()
main.js: Add startModal()/endModal() functions to go modal and
  undo that.
run_dialog.js overlay.js main.js: Use startModal() for the overlay
  and for the run dialog.

http://bugzilla.gnome.org/show_bug.cgi?id=561880

svn path=/trunk/; revision=83

17 years agoAdd a bg-color property to ShellTrayManager
Owen Taylor [Mon, 24 Nov 2008 19:07:15 +0000 (19:07 +0000)]
Add a bg-color property to ShellTrayManager

shell_tray_manager.c: Add a bg-color property and implement it
 by setting a 1x1 pixmap of the right color as the background.

 Also, make the colormap of the tray manager window match that
 of the socket. That should (untested) make transparency work
 properly if the tray icon supports it.

panel.js: Set the bg-color property of the tray manager to
 match the panel.

http://bugzilla.gnome.org/show_bug.cgi?id=561872

svn path=/trunk/; revision=82

17 years agoImprove overlay mode's window scaling
Owen Taylor [Sun, 23 Nov 2008 04:23:34 +0000 (04:23 +0000)]
Improve overlay mode's window scaling

Add a layout for 5 windows and slightly increase the scale factor
for 3 and 4 windows.

Patch from Natan Yellin
http://bugzilla.gnome.org/show_bug.cgi?id=561947

svn path=/trunk/; revision=81

17 years agoTweak the animation when the overlay comes up
Owen Taylor [Sun, 23 Nov 2008 04:12:37 +0000 (04:12 +0000)]
Tweak the animation when the overlay comes up

- Make the time a bit longer (now that we control timing in Tweener
  better it actually takes the time we specify)
- Use easeOutQuad so that we get a "soft landing" into position
- Move the anchor point of the Desktop to NorthEast to reduce jitter

svn path=/trunk/; revision=80

17 years agoUse a Tweener "Frame Ticker" with a ClutterTimeline backend
Owen Taylor [Sun, 23 Nov 2008 04:12:34 +0000 (04:12 +0000)]
Use a Tweener "Frame Ticker" with a ClutterTimeline backend

Call Tweener.setFrameTicker() with a custom object that bridges to
ClutterTimeline to get new frame notifications. Combined with a
hack to dynamically adjust the frame ticker's frame rate when
Clutter drops frames, this means that our animations play in the
intended time even if rendering is too slow to maintain a full
60HZ frame rate.

http://bugzilla.gnome.org/show_bug.cgi?id=561745

svn path=/trunk/; revision=79

17 years agoimplement a basic switch_workspace animation using Tweener. #561835
Dan Winship [Fri, 21 Nov 2008 21:34:10 +0000 (21:34 +0000)]
implement a basic switch_workspace animation using Tweener. #561835

svn path=/trunk/; revision=78

17 years agoFix app event handling
Colin Walters [Fri, 21 Nov 2008 20:45:35 +0000 (20:45 +0000)]
Fix app event handling

We need to hook up to events on the group, and not set higher level
actors to be reactive.

svn path=/trunk/; revision=77

17 years agoUse _deactivate rather than hide so we correctly reset input area
Colin Walters [Fri, 21 Nov 2008 20:45:33 +0000 (20:45 +0000)]
Use _deactivate rather than hide so we correctly reset input area

svn path=/trunk/; revision=76

17 years agoFix application layout to use parent relative coordinates
Colin Walters [Fri, 21 Nov 2008 20:01:15 +0000 (20:01 +0000)]
Fix application layout to use parent relative coordinates

We were previously incorrectly assuming origin relative here.

svn path=/trunk/; revision=75

17 years agorevert some broken bits from previous patch that weren't supposed to have
Dan Winship [Fri, 21 Nov 2008 15:33:00 +0000 (15:33 +0000)]
revert some broken bits from previous patch that weren't supposed to have
been committed

svn path=/trunk/; revision=74

17 years agoremove some cruft
Dan Winship [Fri, 21 Nov 2008 15:10:11 +0000 (15:10 +0000)]
remove some cruft

svn path=/trunk/; revision=73

17 years agoRename MENU_ -> APPDISPLAY_ to correspond with other renames
Colin Walters [Fri, 21 Nov 2008 15:08:34 +0000 (15:08 +0000)]
Rename MENU_ -> APPDISPLAY_ to correspond with other renames

svn path=/trunk/; revision=72

17 years agoMonitor applications directory, not toplevel
Colin Walters [Fri, 21 Nov 2008 15:06:43 +0000 (15:06 +0000)]
Monitor applications directory, not toplevel

svn path=/trunk/; revision=71

17 years agoadd the initial framework of a window management interface. #561724
Dan Winship [Fri, 21 Nov 2008 14:02:09 +0000 (14:02 +0000)]
add the initial framework of a window management interface. #561724

svn path=/trunk/; revision=70

17 years agofix import ordering
Dan Winship [Fri, 21 Nov 2008 13:54:25 +0000 (13:54 +0000)]
fix import ordering

svn path=/trunk/; revision=69

17 years agoMerge branch 'appmenu'
Colin Walters [Fri, 21 Nov 2008 00:53:11 +0000 (00:53 +0000)]
Merge branch 'appmenu'

svn path=/trunk/; revision=68

17 years agoAdd a convenience function for setting an image for ClutterTexture based on GdkPixbuf.
Marina Zhurakhinskaya [Fri, 21 Nov 2008 00:39:14 +0000 (00:39 +0000)]
Add a convenience function for setting an image for ClutterTexture based on GdkPixbuf.

svn path=/trunk/; revision=67

17 years agoFix up previous change; connect to signals correctly
Colin Walters [Thu, 20 Nov 2008 15:47:13 +0000 (15:47 +0000)]
Fix up previous change; connect to signals correctly

svn path=/trunk/; revision=66

17 years agoConvert run dialog to gjs signals
Colin Walters [Thu, 20 Nov 2008 15:40:44 +0000 (15:40 +0000)]
Convert run dialog to gjs signals

svn path=/trunk/; revision=65

17 years agoBug 561588 – New run dialog
Owen Taylor [Wed, 19 Nov 2008 23:21:42 +0000 (23:21 +0000)]
Bug 561588 – New run dialog

Add a new clutter-based "Run Dialog" and trigger that off of Alt-F2
instead of running a gnome-terminal instance.

Patch from Sander Dijkhuis.

svn path=/trunk/; revision=64

17 years agoSet a strut to prevent windows under the panel
Owen Taylor [Wed, 19 Nov 2008 23:04:53 +0000 (23:04 +0000)]
Set a strut to prevent windows under the panel

Set a strut (a reserved region) at the top of the screen so that
windows don't get positioned under the panel. Do this on all
workspaces and redo it when the number of workspaces changes.
http://bugzilla.gnome.org/show_bug.cgi?id=561297

svn path=/trunk/; revision=63

17 years agoRename 'panel' local to 'me'
Owen Taylor [Wed, 19 Nov 2008 23:04:50 +0000 (23:04 +0000)]
Rename 'panel' local to 'me'

To match our style other places, use 'me' rather than 'panel' when
we want a substitute for 'this' that we can refer to from closures.

svn path=/trunk/; revision=62

17 years agoAdd a 'screen' property to ShellGlobal
Owen Taylor [Wed, 19 Nov 2008 22:54:42 +0000 (22:54 +0000)]
Add a 'screen' property to ShellGlobal

Add a screen property to ShellGlobal so Javascript code can get
access to the MetaScreen.

http://bugzilla.gnome.org/show_bug.cgi?id=561297

svn path=/trunk/; revision=61

17 years agoBump default screen size to 1024x748; current mininum
Colin Walters [Wed, 19 Nov 2008 21:15:59 +0000 (21:15 +0000)]
Bump default screen size to 1024x748; current mininum

Right now the mockup is 1280x800.  We don't fit at all well into
800x600.  This patch bumps us up by default to 1024x768 which is
the lowest we're going to work at for now, until we get some more
intelligent resizing.

svn path=/trunk/; revision=60

17 years agoAdd shell_global_focus_stage()
Owen Taylor [Wed, 19 Nov 2008 19:54:17 +0000 (19:54 +0000)]
Add shell_global_focus_stage()

Add a a method shell_global_focus_stage() to set the
input focus to the stage window, so that Clutter gets
keyboard events.

Adapted from patch in Bug 561299 from Colin Walters

svn path=/trunk/; revision=59

17 years agoMake sure we include staysPressed in the list of arguments to the Button object
Marina Zhurakhinskaya [Wed, 19 Nov 2008 19:25:51 +0000 (19:25 +0000)]
Make sure we include staysPressed in the list of arguments to the Button object
, so that we don't end up ignoring minHeight.

svn path=/trunk/; revision=58

17 years agoSwitch all JavaScript variable names to firstWordLowerCase style to agree with the...
Marina Zhurakhinskaya [Wed, 19 Nov 2008 19:23:24 +0000 (19:23 +0000)]
Switch all JavaScript variable names to firstWordLowerCase style to agree with the Style Guide.

svn path=/trunk/; revision=57

17 years agoDisplay a background rectangle for the desktop in the overlay mode when we don't...
Marina Zhurakhinskaya [Tue, 18 Nov 2008 01:33:03 +0000 (01:33 +0000)]
Display a background rectangle for the desktop in the overlay mode when we don't have a desktop window from the file manager, which is the case when the preference for showing icons on the desktop is disabled by the user or we are running inside a Xephyr window.

svn path=/trunk/; revision=56

17 years agoBuild libtray and libtidy as uninstalled convenience libraries as intended
Owen Taylor [Tue, 18 Nov 2008 01:13:53 +0000 (01:13 +0000)]
Build libtray and libtidy as uninstalled convenience libraries as intended

Move libtidy and libtray from lib_LTLIBRARIES to noinst_LTLIBRARIES; this keeps
automake from passing an -rpath when building them, which in turn convinces
libtool to build them as convenience libraries rather than shared objects.

svn path=/trunk/; revision=55

17 years agoCheck that xulrunner-1.9-dev is installed ahead of time
Owen Taylor [Tue, 18 Nov 2008 00:45:32 +0000 (00:45 +0000)]
Check that xulrunner-1.9-dev is installed ahead of time

On Debian and Ubuntu, if xulrunner-1.9-dev is not installed before starting jhbuild,
then things will break in mysterious ways, so check for that at the end of
gnome-shell-build-setup.sh.

Patch from Sander Dijkhuis.

svn path=/trunk/; revision=54

17 years agoAdd an extra background to the button that maintains the state of the pressed button...
Marina Zhurakhinskaya [Mon, 17 Nov 2008 22:32:28 +0000 (22:32 +0000)]
Add an extra background to the button that maintains the state of the pressed button color opacity. This ensures the highlighted button color will be based on the button color instead of the color of the item the button is added to.

svn path=/trunk/; revision=53

17 years agoAdd a button object that highlights a button area when it is moused over and transiti...
Marina Zhurakhinskaya [Sat, 15 Nov 2008 00:44:11 +0000 (00:44 +0000)]
Add a button object that highlights a button area when it is moused over and transitions it to a different color when the button is pressed in. Use this button object for the panel's "Activities" button.

Add some comments, TODO items, and type fixes to the code.

svn path=/trunk/; revision=52

17 years agoUse metacity for building Tidy-1.0.gir as well; fix up dependencies
Colin Walters [Fri, 14 Nov 2008 22:47:33 +0000 (22:47 +0000)]
Use metacity for building Tidy-1.0.gir as well; fix up dependencies

svn path=/trunk/; revision=51

17 years agoTidy.gir also depends on the tidy sources, not the gnomeshell sources
Colin Walters [Fri, 14 Nov 2008 22:06:50 +0000 (22:06 +0000)]
Tidy.gir also depends on the tidy sources, not the gnomeshell sources

svn path=/trunk/; revision=50

17 years agoTidy-1.0.typelib depends on libtidy-1.0.la, not libgnomeshell.la
Colin Walters [Fri, 14 Nov 2008 22:05:08 +0000 (22:05 +0000)]
Tidy-1.0.typelib depends on libtidy-1.0.la, not libgnomeshell.la

svn path=/trunk/; revision=49

17 years agoEnsure we clean out the .gir and .typelibs
Colin Walters [Fri, 14 Nov 2008 21:52:48 +0000 (21:52 +0000)]
Ensure we clean out the .gir and .typelibs

svn path=/trunk/; revision=48

17 years agoKill off libgnomeshell-introspect again, this time with garlic and a stake
Colin Walters [Fri, 14 Nov 2008 21:26:03 +0000 (21:26 +0000)]
Kill off libgnomeshell-introspect again, this time with garlic and a stake

svn path=/trunk/; revision=47

17 years agoLink tidy against clutter-0.8
Colin Walters [Fri, 14 Nov 2008 21:26:00 +0000 (21:26 +0000)]
Link tidy against clutter-0.8

svn path=/trunk/; revision=46

17 years agoUse new --program arg from g-i, clean up build accordingly
Colin Walters [Fri, 14 Nov 2008 21:25:58 +0000 (21:25 +0000)]
Use new --program arg from g-i, clean up build accordingly

* configure.ac: Look for paths to all the g-i tools, and
also get the full path to metacity
* src/Makefile.am: Remove noinst library, not necessary now

svn path=/trunk/; revision=45

17 years agoImport part of the notification area applet, and use it to add a
Dan Winship [Fri, 14 Nov 2008 17:21:56 +0000 (17:21 +0000)]
Import part of the notification area applet, and use it to add a
notification are to the panel. A bit warty, but we don't know how we want
the final UI to look anyway. (The fact that transparency doesn't work is
a known bug.)

svn path=/trunk/; revision=44

17 years agoMove AC_DISABLE_STATIC before AM_PROG_LIBTOOL
Owen Taylor [Wed, 12 Nov 2008 21:35:17 +0000 (21:35 +0000)]
Move AC_DISABLE_STATIC before AM_PROG_LIBTOOL

Fix warning (and problem?) if AC_DISABLE_STATIC occurs after
AM_PROG_LIBTOOL.

svn path=/trunk/; revision=43

17 years agoExperimentally add build infrastructure and a few Tidy widgets
Owen Taylor [Wed, 12 Nov 2008 21:09:27 +0000 (21:09 +0000)]
Experimentally add build infrastructure and a few Tidy widgets

For experimenting with using tidy, import TidyButton and TidyGrid
(+ dependencies) into our source tree and set up build machinery
to build them and build a typelib for them.

The sources are build right into libgnome-shell.so, so the Shell.gir
and Tidy.gir actually point to the same shared library.

src/Makefile-tidy.am: Build libtidy-1.0.la
src/Makefile.am: Include built tidy into gnome-shell.la and
  build Tidy-1.0.typelib

src/tidy/*: Add some source files from Tidy

svn path=/trunk/; revision=42

18 years agoRemove workarounds for mutual imports problems
Owen Taylor [Sun, 9 Nov 2008 18:01:59 +0000 (18:01 +0000)]
Remove workarounds for mutual imports problems

Now that gjs Bug #558741 is fixed, we can import Main directly from
the toplevel of overlay.js/panel.js without causing problems.

svn path=/trunk/; revision=41

18 years agoFix stacking order in the overlay
Owen Taylor [Sat, 8 Nov 2008 19:33:35 +0000 (19:33 +0000)]
Fix stacking order in the overlay

When showing windows in the overlay, stack them in the same order as
they are on the screen. This improves the animation (the starting point
is now the current layout!) and also the case where we have a lot
of windows and just overlap them diagonally.

svn path=/trunk/; revision=40

18 years agoHide the group containing the windows while overlay is up
Owen Taylor [Sat, 8 Nov 2008 19:33:33 +0000 (19:33 +0000)]
Hide the group containing the windows while overlay is up

When we are animating the overlay, we don't want to be continually
redrawing the (obscured) window actors.

src/shell-global.c: Add 'window-group' property to expose the group
  holding the window actors.
js/ui/overlay.js: Hide the window group while the overlay is up.

svn path=/trunk/; revision=39

18 years agoAdd dummy return values to metacity-symbols.c
Owen Taylor [Sat, 8 Nov 2008 15:49:01 +0000 (15:49 +0000)]
Add dummy return values to metacity-symbols.c

Make sure that all functions in metacity-symbols.c with a return value
return something so that the compilation is clean.

svn path=/trunk/; revision=38

18 years agoRemove over a leftover debug log statement
Owen Taylor [Sat, 8 Nov 2008 00:46:44 +0000 (00:46 +0000)]
Remove over a leftover debug log statement

svn path=/trunk/; revision=37

18 years agoRun gnome-terminal on alt-f2
Colin Walters [Fri, 7 Nov 2008 18:42:23 +0000 (18:42 +0000)]
Run gnome-terminal on alt-f2

svn path=/trunk/; revision=36

18 years agoMake clicking on windows in the overlay activate the windows
Owen Taylor [Fri, 7 Nov 2008 17:14:26 +0000 (17:14 +0000)]
Make clicking on windows in the overlay activate the windows

Hook up activating windows in the overlay now that we have
MetaWindow GObject'ified and exposed to gobject-introspection.

svn path=/trunk/; revision=35

18 years agospecify geometries on the test clients so they don't end up with their title
Dan Winship [Thu, 6 Nov 2008 17:44:01 +0000 (17:44 +0000)]
specify geometries on the test clients so they don't end up with their title
bars under the panel

svn path=/trunk/; revision=34

18 years agoDisable bug buddy; otherwise we just hang on crash instead of restarting old panel
Colin Walters [Thu, 6 Nov 2008 15:10:57 +0000 (15:10 +0000)]
Disable bug buddy; otherwise we just hang on crash instead of restarting old panel

svn path=/trunk/; revision=33

18 years agoImprove window handling in overview mode
Owen Taylor [Thu, 6 Nov 2008 14:00:14 +0000 (14:00 +0000)]
Improve window handling in overview mode

* For small window counts, lay the windows out according to a
  predefined scheme. For larger window counts, continue putting
  the windows along the diagonal as before, but do it a bit better.
* Special case the desktop window and use it as the background
  of the window area.
* Add a little translucency to windows
* Use tweener to animate everything into place
* Clean up - add constants and break things into multiple methods

svn path=/trunk/; revision=32

18 years agoAutodetect where the 'pidof' command lives and enable optional verbose logging inside...
Mikkel Kamstrup Erlandsen [Tue, 4 Nov 2008 22:40:52 +0000 (22:40 +0000)]
Autodetect where the 'pidof' command lives and enable optional verbose logging inside start-replace

scripts/start-replace: Detect if 'pidof' lives in /sbin, /bin, or /usr/bin. Add conditional verbose logging if -v is passed on the command line
scripts/launcher.py: Add method is_verbose() to Launcher class

svn path=/trunk/; revision=31

18 years agoUse = instead of == for comparision. (dash compatibility)
Johan Dahlin [Tue, 4 Nov 2008 18:07:07 +0000 (18:07 +0000)]
Use = instead of == for comparision. (dash compatibility)

svn path=/trunk/; revision=30

18 years agoDon't override XAUTHORITY until after we run Xephyr
Owen Taylor [Mon, 3 Nov 2008 21:39:41 +0000 (21:39 +0000)]
Don't override XAUTHORITY until after we run Xephyr

Don't override the setting of XAUTHORITY when running Xephyr,
since then we may not be able to connect to the host display.
Instead pass in the local auth file via the -auth command
line argument.

An alternate fix would be to use 'xauth merge' to merge the
existing XAUTHORITY file into our local file.

svn path=/trunk/; revision=29

18 years agoFix location of libmozjs.so for Ubuntu
Owen Taylor [Mon, 3 Nov 2008 21:11:28 +0000 (21:11 +0000)]
Fix location of libmozjs.so for Ubuntu

/usr/lib/xulrunner-<version>/lib in the previous patch
was wrong, should be /usr/lib/xulrunner-<version>. Also,
fix comment.

svn path=/trunk/; revision=28

18 years agoDon't overwrite existing LD_LIBRARY_PATH when running g-ir-compiler
Owen Taylor [Mon, 3 Nov 2008 20:41:25 +0000 (20:41 +0000)]
Don't overwrite existing LD_LIBRARY_PATH when running g-ir-compiler

When running g-ir-compiler, augment LD_LIBRARY_PATH with the current
directory, rather than overwriting it entirely.

svn path=/trunk/; revision=27

18 years agoWork around libmozjs not being in ld.so.conf on Ubuntu
Owen Taylor [Mon, 3 Nov 2008 20:33:14 +0000 (20:33 +0000)]
Work around libmozjs not being in ld.so.conf on Ubuntu

In our jhbuildrc, add the path containing libmozjs.so on Ubuntu to
to LD_LIBRARY_PATH. The path is heuristically derived from pkg-config
output.

svn path=/trunk/; revision=26

18 years agoInstall our typelib privately inside $(pkglibdir)
Owen Taylor [Sun, 2 Nov 2008 04:18:43 +0000 (04:18 +0000)]
Install our typelib privately inside $(pkglibdir)

Installing the plugin typelib into $(libdir)/girepository is
non-sensical since no other program would want to reference it.
Move it to $(pkglibdir)/girepository instead. (Will need to set
environment variables to find it when we make installed operation
work.)

svn path=/trunk/; revision=25

18 years agoFirst stab at showing windows in the overlay
Owen Taylor [Sun, 2 Nov 2008 04:18:41 +0000 (04:18 +0000)]
First stab at showing windows in the overlay

shell-global.[ch]: Add shell_global_get_windows() to get
  the list of all MutterWindow for the  screen
Makefile.am: Include the metacity typelib so that we can
  reference the MutterWindow type
js/ui/overlay.js: Cascade the open windows, scaled down
  in the overlay

svn path=/trunk/; revision=24

18 years agostart-in-Xepyhr: add xeyes and xlogo to initial session
Owen Taylor [Sun, 2 Nov 2008 04:18:38 +0000 (04:18 +0000)]
start-in-Xepyhr: add xeyes and xlogo to initial session

With one window, it's hard to see window management behavior,
add xeyes and xlogo as well as xterm.

svn path=/trunk/; revision=23

18 years agoPass the right number of arguments to exit()
Owen Taylor [Sun, 2 Nov 2008 04:18:36 +0000 (04:18 +0000)]
Pass the right number of arguments to exit()

When using gdb to quit the panel, pass the right number of arguments
to exit(), so that gdb calls it instead of erroring out.

svn path=/trunk/; revision=22

18 years agoInclude errors in what we print out without -v
Owen Taylor [Sun, 2 Nov 2008 03:27:11 +0000 (03:27 +0000)]
Include errors in what we print out without -v

Change the debug topics in the non-verbose case from just
JS LOG to JS LOG and JS ERROR.

svn path=/trunk/; revision=21

18 years agoFix --debug option to default to gdb
Owen Taylor [Sun, 2 Nov 2008 03:03:00 +0000 (03:03 +0000)]
Fix --debug option to default to gdb

When --debug is specified, pick up the default value for
--debug-command of 'gdb --args' correctly.

svn path=/trunk/; revision=20

18 years agoDraw a border around the panel. Move it to -1,-1 and make the width+2 so we only...
Johan Dahlin [Sun, 2 Nov 2008 03:00:45 +0000 (03:00 +0000)]
Draw a border around the panel. Move it to -1,-1 and make the width+2 so we only see the border at the bottom

svn path=/trunk/; revision=19

18 years agoAdd --debug and --verbose options to launcher scripts
Owen Taylor [Sat, 1 Nov 2008 23:55:49 +0000 (23:55 +0000)]
Add --debug and --verbose options to launcher scripts

Factor out a common Launcher class from start-in-Xepyhr and
start-replace that handles option parsing and launching gnome-shell,
and add options:

 -v/--verbose: Unless specified, suppress most gjs debug output
 -g/--debug: If specified run under gdb
 --debug-command: Run under some other debugging (strace/valgrind/etc.)
     Implies -g

svn path=/trunk/; revision=18

18 years agoBuild metacity-clutter after gir-repository
Owen Taylor [Sat, 1 Nov 2008 22:56:53 +0000 (22:56 +0000)]
Build metacity-clutter after gir-repository

Once we add introspection information to metacity-clutter, we need
to make sure that we build it after gir-repository (and thus
gobject-introspection.)

svn path=/trunk/; revision=17

18 years agoAdd start-replace script
Owen Taylor [Sat, 1 Nov 2008 19:45:00 +0000 (19:45 +0000)]
Add start-replace script

Add a script to start gnome-shell replacing metacity and gnome-panel.
When gnome-shell exits, gnome-panel and metacity are restarted.

svn path=/trunk/; revision=16

18 years agoBuild clutter before gir-repository
Owen Taylor [Sat, 1 Nov 2008 15:58:13 +0000 (15:58 +0000)]
Build clutter before gir-repository

We need to build gir-repository after clutter so that the
typelib for clutter is built; add a dependency.

svn path=/trunk/; revision=15

18 years agoFirst cut at activities overlay
Owen Taylor [Fri, 31 Oct 2008 23:09:46 +0000 (23:09 +0000)]
First cut at activities overlay

When the user clicks on "Activities", adjust the input shape
to the whole screen and show a black overlay group. Actually, the
black should be *beneath* the window actors and the overlay group
transparent so we can fade in the black while leaving the windows
unfaded, visible, but shrunk and rearranged.

svn path=/trunk/; revision=14

18 years agoClean up initial appearance a bit
Owen Taylor [Fri, 31 Oct 2008 18:29:42 +0000 (18:29 +0000)]
Clean up initial appearance a bit

Set a less strange background color than white and remove the
"Yessir. The compositor is running" message from the overlay.

svn path=/trunk/; revision=13

18 years agoAdd annotations to fix return-value transfer for shell_global_get()
Owen Taylor [Fri, 31 Oct 2008 18:24:29 +0000 (18:24 +0000)]
Add annotations to fix return-value transfer for shell_global_get()

Default transfership for a GObject return value is 'full', override
it to 'none' for a singleton getter.

svn path=/trunk/; revision=12

18 years agoSwitch the HH:MM:SS second clock to HH:MM
Owen Taylor [Fri, 31 Oct 2008 18:12:03 +0000 (18:12 +0000)]
Switch the HH:MM:SS second clock to HH:MM

less updates == less debug spew.

svn path=/trunk/; revision=11

18 years agoAdd a very simple first-pass top panel
Owen Taylor [Fri, 31 Oct 2008 18:09:20 +0000 (18:09 +0000)]
Add a very simple first-pass top panel

Add a top panel with a label "Activities" you can click on and
a HH:MM:SS clock. (A little more and we'll be caught up to gnome-0.9.)

svn path=/trunk/; revision=10

18 years agoAdd shell_global_set_stage_input_area() to header file
Owen Taylor [Fri, 31 Oct 2008 18:05:19 +0000 (18:05 +0000)]
Add shell_global_set_stage_input_area() to header file

shell_global_set_stage_input_area() wasn't in the header file
so it wasn't introspected; add it.

svn path=/trunk/; revision=9

18 years agoAdd ShellGlobal.stage property
Owen Taylor [Fri, 31 Oct 2008 18:04:38 +0000 (18:04 +0000)]
Add ShellGlobal.stage property

Add a property to get the root stage for the scene graph.

svn path=/trunk/; revision=8

18 years agoAdd an xevent_filter method to our plugin
Owen Taylor [Fri, 31 Oct 2008 18:02:52 +0000 (18:02 +0000)]
Add an xevent_filter method to our plugin

By default, mutter doesn't pass events to clutter. We need to add an
xevent_filter method to our plugin and do that ourselves.

svn path=/trunk/; revision=7

18 years agoExtend ShellGlobal object with more properties
Owen Taylor [Fri, 31 Oct 2008 15:20:54 +0000 (15:20 +0000)]
Extend ShellGlobal object with more properties

* Add screen-width, screen-height, overlay-group properties
* Add set_stage_input_area() function
* Fix main.js to rotate DRAFT properly

svn path=/trunk/; revision=6

18 years agoAdd gjs as a dependency of gnome-shell
Owen Taylor [Fri, 31 Oct 2008 15:18:18 +0000 (15:18 +0000)]
Add gjs as a dependency of gnome-shell

svn path=/trunk/; revision=5

18 years agoUse --mutter-plugins instead of --clutter-plugins
Owen Taylor [Fri, 31 Oct 2008 12:41:01 +0000 (12:41 +0000)]
Use --mutter-plugins instead of --clutter-plugins

Command line option to metacity has been changed, match that.

svn path=/trunk/; revision=4

18 years agoAdd jhbuild setup script and moduleset
Owen Taylor [Fri, 31 Oct 2008 05:25:28 +0000 (05:25 +0000)]
Add jhbuild setup script and moduleset

gnome-shell.modules: moduleset to build gnome-shell and dependencies

gnome-shell-build-setup.sh: Script to set up a jhbuild for gnome-shell,
  modelled after and partially copied from gtk-osx-build-setup.sh
jhbuildrc-gnome-shell: ~/.jhbuildrc for the build
jhbuildrc-custom-example: Example ~/.jhbuildrc-custom

svn path=/trunk/; revision=3

18 years agoInitial commit
Owen Taylor [Fri, 31 Oct 2008 04:22:44 +0000 (04:22 +0000)]
Initial commit

A plugin for metacity-clutter (mutter) that initializes Javascript
and via Javascript adds an object to the mutter scene graph.

src/gnome-shell-plugin.c: metacity-clutter-plugin
src/shell-global.[ch]: Simple global-information object
js/: Directory for javascript
scripts/start-in-Xephyr: Launch metacity with our plugin
  "nested" within an Xephy X server

svn path=/trunk/; revision=2